package com.ruoyi.gift.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;


@ApiModel(value = "GiftRecord", description = "礼金实体")
@Data
public class GiftRecord {

    // 姓名   地址   电话   日期   礼金  礼金记录图片  礼物   礼物图片
    private Long id;
    private String name;
    private String address;
    private String phone;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDate giftDate;
    private BigDecimal giftAmount;
    private String giftAmountImage;
    private String giftItem;
    private String giftItemImage;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createdTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updatedTime;


}